﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;

namespace StoragePeriod.Web.UserControls.FCKEditor
{
    public partial class FCKContent : System.Web.UI.UserControl
    {
        [PersistenceMode(PersistenceMode.InnerDefaultProperty), Bindable(true), Localizable(true)]
        [BrowsableAttribute(true)]
        [DescriptionAttribute("获取控件显示内容！")]
        public string Value
        {
            get { return this.FCKTextBox.Value; }
            set { this.FCKTextBox.Value = value; }
        }

        private string _width="100%";
        [PersistenceMode(PersistenceMode.InnerDefaultProperty), Bindable(true), Localizable(true)]
        [BrowsableAttribute(true)]
        [DescriptionAttribute("设置宽度,默认为100%！")]
        public string Width
        {
            get { return _width; }
            set { _width = value; }
        }

        public string _height="350px";
        [PersistenceMode(PersistenceMode.InnerDefaultProperty), Bindable(true), Localizable(true)]
        [BrowsableAttribute(true)]
        [DescriptionAttribute("设置高度默认为350px！")]
        public string Height
        {
            get { return _height; }
            set { _height = value; }
        }
        
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}